﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EnvDTE;

namespace VSAgent
{
    public static class Extensions
    {
        public static string[] GetFileNames(this ProjectItem projectItem)
        {
            var names = new string[projectItem.FileCount];
            short x = 0;

            for (x = 0; x < names.Length; x++)
            {
                names[x] = projectItem.FileNames[x];
            }

            return names;
        }
    }
}
